home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Zoom 2
/
Zoom - Release 2 (1996)(Active Software)[!].iso
/
texts
/
dosman121
/
man
/
read
< prev
next >
Wrap
Text File
|
1995-05-06
|
1KB
|
42 lines
Read(V1.3 only)
NAME
Read - Read input and parse.
SYNOPSIS
Read Variables/...
DESCRIPTION
Read accepts input from its standard input. It takes
as arguments a list of one or more environment variables
into which it will place the parsed input.
Read chops the input up on whitespace and/or double
quotes, depending on the user's input, placing the first
argument in the first environment variable you supply,
the second in the second and so on. The final
environment variable supplied gets the rest of the input
string. If only one variable is supplied, it gets all the
input.
Read may be used to good effect in pipelines.
EXAMPLE
1. First will contain 'S', while last will contain 'D
B'.
Read First Last
S D B
2. First will contain '"S D B"' while last will be
empty.
Read First Last
"S D B"